package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.OutStockVO;
import com.goods.common.vo.system.PageVO;

import java.util.Map;

/**
 * @author Decheng Kong
 * @date 2021/11/9 20:49
 */
public interface OutStockService {

    PageVO<OutStockVO> findOutStockList(Integer pageNum, Integer pageSize, OutStockVO outStockVO);

    Map<String, Object> findInStockDetailList(Integer pageNum, Integer pageSize, Integer id);

    void updateOutStockStatus(Long id, int code);

    void deleteOutStockById(Long id);

    void addOutStock(OutStockVO outStockVO);

    void auditOutStock(Long id, int code) throws BusinessException;
}
